package com.xjtu.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xjtu.project.model.domain.Address;

import java.util.List;

/**
* @author 86185
* @description 针对表【address】的数据库操作Service
* @createDate 2025-07-04 17:16:44
*/
public interface AddressService extends IService<Address> {

    Integer addAdress(Address address);

    List<Address> getByUserId();

    Address getOneMy();

    boolean updateByIdMy(Address address);

    void setDefaultAddress(Integer id);
}
